[INFO] fetching crate get-size 0.1.1...
[INFO] checking get-size-0.1.1 against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] extracting crate get-size 0.1.1 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate get-size 0.1.1 on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate get-size 0.1.1
[INFO] finished tweaking crates.io crate get-size 0.1.1
[INFO] tweaked toml for crates.io crate get-size 0.1.1 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded get-size-derive v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ac9d7a857bc04e1a1e6f793573d87fca5519ff7def0221892dc2c20ba86f659
[INFO] running `Command { std: "docker" "start" "-a" "4ac9d7a857bc04e1a1e6f793573d87fca5519ff7def0221892dc2c20ba86f659", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ac9d7a857bc04e1a1e6f793573d87fca5519ff7def0221892dc2c20ba86f659", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ac9d7a857bc04e1a1e6f793573d87fca5519ff7def0221892dc2c20ba86f659", kill_on_drop: false }`
[INFO] [stdout] 4ac9d7a857bc04e1a1e6f793573d87fca5519ff7def0221892dc2c20ba86f659
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5403c850d11f7a4c8c07d51e9b30c964cbddfe55332211864c1fa6da94a51cc8
[INFO] running `Command { std: "docker" "start" "-a" "5403c850d11f7a4c8c07d51e9b30c964cbddfe55332211864c1fa6da94a51cc8", kill_on_drop: false }`
[INFO] [stderr]     Checking get-size v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]  --> src/tests/mod.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(GetSize)]
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/tests/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStruct` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct TestStruct {
[INFO] [stdout]    | --------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStruct`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStruct` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 16 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 16 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:36:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 36 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 39 |     assert_eq!(test.get_heap_size(), 6);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 42 |     assert_eq!(test.get_heap_size(), 4 + 16 + 12);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 50 |     assert_eq!(test.get_heap_size(), 11);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 53 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 56 |     assert_eq!(test.get_heap_size(), 5 + 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:69:21
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum TestEnum2 {
[INFO] [stdout]    | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 69 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:72:21
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum TestEnum2 {
[INFO] [stdout]    | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 72 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:75:21
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum TestEnum2 {
[INFO] [stdout]    | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 75 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `get-size` due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "5403c850d11f7a4c8c07d51e9b30c964cbddfe55332211864c1fa6da94a51cc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5403c850d11f7a4c8c07d51e9b30c964cbddfe55332211864c1fa6da94a51cc8", kill_on_drop: false }`
[INFO] [stdout] 5403c850d11f7a4c8c07d51e9b30c964cbddfe55332211864c1fa6da94a51cc8
